package com.jnxx.okr.domain;

import com.jnxx.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 实体类：
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Alignment extends BaseDomain{

    /**
     * 对齐对象id
     */
    private Long targetId;
    /**
     * 对齐人的id
     */
    private Long sourceId;
    private Long parentId;
    private Long cycleId;
    /**
     * 类型 0为公司级 1为个人级
     */
    private String type;
    /**
     * 负责人
     */
    private String okrName;
    private String sourceName;
    private String sourceLeaderName;
    private String targetName;
    private String targetLeaderName;
    private Date creatTime = new Date();

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
